<%@ Register TagPrefix="board" TagName="ClubInformation" Src="UserControls/ClubInformation.ascx" %>
<%@ Page language="c#" Inherits="LocalBoard.Web.Admin" CodeFile="Admin.aspx.cs" %>
<%@ Register TagPrefix="board" TagName="topNav" Src="UserControls/topNav.ascx" %>
<%@ Register TagPrefix="board" TagName="footer" Src="UserControls/footer.ascx" %>
<%@ Register TagPrefix="board" TagName="login" Src="UserControls/login.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
		<title>Admin</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="stylesheets/board.css" rel="stylesheet">
  </HEAD>
  <body background="images/bg_blueFade.jpg">

		<form id="Form1" method="post" runat="server">

<board:topNav id="topNav" runat="server" />

<table cellSpacing="0" cellPadding="0" width="798" border="0" bgcolor="#ffffff">
  <tbody>
  <tr>
    <td id="leftNav" width="100" runat="server">
<board:login id="login" mode="small" runat="server" />
		</td>
    <td bgcolor="#ffffff" width="2"><img src="images/space.gif" border="0" height="1" width="2"></td>
    <td bgcolor="#37a0ed" width="1"><img src="images/space.gif" border="0" height="1" width="1"></td>
    <td bgcolor="#ffffff" width="2"><img src="images/space.gif" border="0" height="1" width="3"></td>
    <td bgcolor="#37a0ed" width="1"><img src="images/space.gif" border="0" height="1" width="1"></td>
    <td bgcolor="#ffffff" width="2"><img src="images/space.gif" border="0" height="1" width="2"></td>
		<td id="body" width="689" runat="server">
			<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="1">
				<TR>
					<TD>
			<p>Club</p>
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<TD>
					<asp:ListBox id="clubList" runat="server" AutoPostBack="True" onselectedindexchanged="clubList_SelectedIndexChanged"></asp:ListBox>
<board:ClubInformation id="clubInformation" mode="DELETE" runat="server"></board:ClubInformation></TD>
				<td></td>
			</tr>
			</table>
			<p>Club Category</p>
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td rowspan="2">
<asp:ListBox id="clubCategoryList" runat="server" AutoPostBack="True" onselectedindexchanged="clubCategoryList_SelectedIndexChanged"></asp:ListBox></td>
        <TD>Category Name:</TD>
				<td><asp:TextBox id="clubCategoryName" runat="server"></asp:TextBox></td>
			</tr>
      <TR>
        <TD colspan="2">
<asp:Button id="create" runat="server" Text="Create" onclick="create_Click" />&nbsp;&nbsp;
<asp:Button id="update" runat="server" Text="Update" onclick="update_Click" />&nbsp;&nbsp;
<asp:Button id="delete" runat="server" Text="Delete" onclick="delete_Click" />
</TD>
      </TR>
			</table>
			<p>Club User</p>
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td rowspan="4">
<asp:ListBox id="userList" runat="server" AutoPostBack="True" onselectedindexchanged="userList_SelectedIndexChanged"></asp:ListBox></td>
        <TD colspan="3">User name: <asp:TextBox id="userName" Enabled="False" runat="server"></asp:TextBox></TD>
			</tr>
			<tr>
        <TD>Selected user roles</TD>
				<td rowspan="2"><asp:Button ID="deleteRole" Runat="server" Text="->" onclick="deleteRole_Click" /><br><br>
				<asp:Button ID="addRole" Runat="server" Text="<-" onclick="addRole_Click" /></td>
        <TD>All user roles</TD>
			</tr>
			<tr>
				<td><asp:ListBox ID="selectedUserRoles" Runat="server" /></td>
				<td><asp:ListBox ID="allUserRoles" Runat="server" /></td>
			</tr>
      <TR>
        <TD colspan="3"><asp:Button id="updateUserRole" runat="server" Text="Confirm Change" onclick="updateUserRole_Click" /></TD>
      </TR>
			</table>
		</TD>
	</TR>
	</TABLE>
</TD></TR></TBODY></TABLE>

<board:footer id="footer" runat="server" />

		</form>
	</body>
</HTML>
